package com.company.psm.service;

import java.util.Date;
import java.util.List;

import com.company.psm.entity.Bill;
import com.company.psm.entity.Medicine;
import com.company.psm.entity.Store;
import com.company.psm.entity.User;

public interface BillManagement {
	public List<Bill> getAllBills();


	public void createBill(String billDate, String storeName,
			String billNumber, String saleStaffName, String customerName,
			List<Medicine> medicines, String totalValue, Store store,
			String description, User user);

	public Bill getBillByIdAndStore(long id, long storeId);
	
	public List<Bill> getAllBillByStore(long storeId);
	
	public List<Bill> getAllBillUser(long userId);

	public void deleteBill(long billId);

	
	public List<Bill> searchBillByCustomerDate(String customerName, Long storeId,Date fromDate, Date toDate, User user, String userId);
	
	public List<Bill> searchBillByDateAndStore(Date fromDate, Date toDate, Long storeId);
	
}
